package com.sanbi.erp.db.dao;

import com.sanbi.erp.db.domain.SystemDictionary;

import java.util.List;

public interface SystemDictionaryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(SystemDictionary record);

    int insertSelective(SystemDictionary record);

    SystemDictionary selectByPrimaryKey(Integer id);

    /**
     * 获取费率，最小提现手续费，最小提现金额
     * @return
     */
    List<SystemDictionary> selectByMinimum();

    /**
     * 获取最小提现金额
     * @return
     */
    SystemDictionary selectByMinimumTwo();

    /**
     * 查询所有退款/退货信息
     */
    List<SystemDictionary> getRefundMessage(String group);

    int updateByPrimaryKeySelective(SystemDictionary record);

    int updateByPrimaryKey(SystemDictionary record);
}